package cn.rulian.car.outbill.bo;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import cn.rulian.base.common.bo.BaseBo;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 登记单--流转明细
 */
@Entity
@Table(name = "car_outbill_outbillflow")
public class OutBillFlow extends BaseBo {

	@ManyToOne
	@JoinColumn(name = "outBill_id")
	private OutBill outBill; //外出单

	@Column(length = 50)
	private String ope; //操作
	
	@Column(length = 100)
	private String opeInfo; //操作信息
	
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	private Date opeTime; //操作时间
	
	@Column(length = 50)
	private String opeUserName; //操作用户姓名

	public OutBill getOutBill()
	{
		return outBill;
	}

	public void setOutBill(OutBill outBill)
	{
		this.outBill = outBill;
	}

	public String getOpe()
	{
		return ope;
	}

	public void setOpe(String ope)
	{
		this.ope = ope;
	}

	public String getOpeInfo()
	{
		return opeInfo;
	}

	public void setOpeInfo(String opeInfo)
	{
		this.opeInfo = opeInfo;
	}

	public Date getOpeTime()
	{
		return opeTime;
	}

	public void setOpeTime(Date opeTime)
	{
		this.opeTime = opeTime;
	}

	public String getOpeUserName()
	{
		return opeUserName;
	}

	public void setOpeUserName(String opeUserName)
	{
		this.opeUserName = opeUserName;
	}
	
}
